package librarymanager
import authentication.Role

class Category {
    
    static hasMany = [roles: Role]
    
    String name
    
    static constraints = {
        name(inList: ["Public", "Protected", "Private"], blank: false, nullable: false)
    }
    
    String toString() {
        "${name}"
    }
}


